<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<div class="panel-body">
	<div class="list-group">
		<c:forEach items="${notificationPage.list}" var="notification">
			<p class="list-group-item">
	 			<c:if test="${notification.isRead eq 0}">
					<span class="label label-warning">
						未读
					</span>
				</c:if>
				<c:if test="${notification.isRead eq 1}">
					<span class="label label-default">
						已读
					</span>
				</c:if>
				<c:if test="${notification.action eq 0}">
					&nbsp${notification.content}
				</c:if>
				<c:if test="${notification.action eq 1}">
					&nbsp${notification.content}
				</c:if>
				<c:if test="${notification.action eq 2}">
					&nbsp${notification.content}
				</c:if>
				<c:if test="${notification.action eq 3}">
					&nbsp${notification.content}
				</c:if>
				<c:if test="${notification.action eq 4}">
					&nbsp${notification.content}
				</c:if>
				<span style="color: #999999" class="pull-right">${notification.formatDate(notification.notifyTime)}</span>
			</p>
		</c:forEach>
	</div>
</div>
